package com.itheima.mm.service;

import com.itheima.mm.entity.PageResult;
import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.pojo.Course;

import java.io.IOException;
import java.util.List;

/**
 * 包名:com.itheima.mm.service
 * 作者:Leevi
 * 日期2020-02-21  11:50
 */
public interface ICourseService {
    void add(Course course) throws IOException;

    PageResult findByPage(QueryPageBean queryPageBean) throws IOException;

    void update(Course course) throws IOException;

    void deleteById(Integer id) throws IOException;

    void delRedisCourseList() throws IOException;

    List<Course> findAll(Integer status) throws IOException;
}
